package excessoes;

/**
 *
 * @author Marcelo Gomes Neto
 */
public class DAOException extends Exception 
{
    private static final long serialVersionUID = 6045362776059988046L;

    /**
     * Creates a new instance of
     * <code>DAOException</code> without detail message.
     */
    public DAOException() {
    }

    /**
     * Constructs an instance of
     * <code>DAOException</code> with the specified detail message.
     *
     * @param msg the detail message.
     */
    public DAOException(String msg) {
        super(msg);
        //FacesUtil.getFacesContext().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, ""));
    }
}
